package io.renren.modules.labon.service.impl;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.emp.entity.EmployeeEntity;
import io.renren.modules.lab.entity.LabelEntity;
import io.renren.modules.user.entity.UserinfoEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.labon.dao.LableonlineDao;
import io.renren.modules.labon.entity.LableonlineEntity;
import io.renren.modules.labon.service.LableonlineService;


@Service("lableonlineService")
public class LableonlineServiceImpl extends ServiceImpl<LableonlineDao, LableonlineEntity> implements LableonlineService {


        @Override
        public PageUtils queryPage(Map<String, Object> params) {

            IPage<LableonlineEntity> page = this.page(
                    new Query<LableonlineEntity>().getPage(params),
                    new QueryWrapper<LableonlineEntity>()
            );

            return new PageUtils(page);
        }

//    @Override
//    public void selectByWork(String id, Page<LableonlineEntity> page) {
//        lableonlineDao.selectByWork(id,page);
//    }

}